package com.qfedu.kbonline.service.impl;

import com.qfedu.kbonline.dao.UserDao;
import com.qfedu.kbonline.entity.User;
import com.qfedu.kbonline.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: SuperAsvin
 * @description:
 * @author: ErBa(韩智飞)
 * @create: 2020-09-15 13:56
 **/

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public List<User> selectAll() {
        return userDao.all();
    }
}
